package org.example.springboot.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.example.springboot.common.utils.DateUtils;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 阿沐 babamu@126.com
 * @since 1.0.0 2024-07-31
 */
@Data
@Schema(description = "")
public class CycleVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "灌溉水量m3")
    private Float irrigationVolume;

    @Schema(description = "灌溉日期")
    private String irrigationDate;

    private Long id;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date updateDate;

    @Schema(description = "uuid")
    private String uuid;

}